package com.beiding.service;


import com.beiding.pojo.Room;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "room")
public interface RoomService {

    //获取一个房源的详细信息
    @GetMapping("/room/feign/get")
    Room get(@RequestParam("id") String id);

}
